package com.xizi.forum.dao;

import com.xizi.forum.model.ArticleReplyInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleReplyInfoMapper {
    int insert(ArticleReplyInfo record);

    int insertSelective(ArticleReplyInfo record);

    ArticleReplyInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ArticleReplyInfo record);

    int updateByPrimaryKey(ArticleReplyInfo record);

    List<ArticleReplyInfo> selectAllRepliesByArticleId(Long articleId);
}